package Market;

import java.util.ArrayList;

public class Market {
	private ArrayList<DrinkInMarket> drinks = new ArrayList<DrinkInMarket>();
	private ArrayList<Admin> admins = new ArrayList<Admin>();
	private int count;
	public Market(ArrayList<DrinkInMarket> drinks, ArrayList<Admin> admins) {
		super();
		this.drinks = drinks;
		this.admins = admins;
		this.count = 0;
		for(int i=0;i<drinks.size();i++)
			this.count+=drinks.get(i).getCount();
	}
	public Market() {
		super();
	}
	
	//Get&&Set
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public ArrayList<DrinkInMarket> getDrinks() {
		return drinks;
	}
	public ArrayList<Admin> getAdmins() {
		return admins;
	}
}
